﻿@{
    ViewBag.Title = "ImmediateFunc";
    Layout = "~/Views/Shared/_Page.cshtml";
}

<h2>Immediate Funcion</h2>
<br />
<h3>Path: @ViewBag.Path</h3>
<br />
<h3>Extended JS: /JsLib/G_Core.js</h3>
<br />
<h3>See the result on console</h3>
<br />

<script type="text/javascript">
    (function () {
        alert("Immediate Executed!");
    }());
    
    (function (who, when) {
        alert("I met " + who + " on " + when);
    }("Joe Black", new Date()));

</script>
